package chapter_22_state.p3_sample2;

/**
 * Created by yao on 2016/10/11.
 */
public class Player {
    private State state = new NormalState();

    public void setState(State state) {
        this.state = state;
    }

    public void shot(){
        state.shot();
    }
}
